import { createRouter, createWebHistory } from 'vue-router'
import UserPage from '@/components/UserPage.vue'
import DataPage from "@/components/DataPage.vue";


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/user',
      name: 'user',
      component: UserPage
    },
    {
      path: '/data',
      name: 'data',
      component: DataPage
    }
  ],
})

export default router
